﻿

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
	中国家居正品查询平台
</title><link href="Content/newstyle.css" rel="stylesheet" type="text/css" />
   <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="Scripts/jquery.carouFredSel-5.5.0-packed.js" type="text/javascript"></script>
    <script src="Scripts/functions.js" type="text/javascript"></script>     
    <script type="text/javascript">
        
        $(document).ready(function () {
          $("#brandName").focus(function () {
                if ($(this).val() == '品牌') $(this).val('');
            }).blur(function () { if ($(this).val() == '') $(this).val('品牌'); });
            $("#mobile").focus(function () {
                if ($(this).val() == '联系电话') $(this).val('');
            }).blur(function () { if ($(this).val() == '') $(this).val('联系电话'); });
            $("#guestBook").focus(function () {
                if ($(this).val() == '品牌简介') $(this).val('');
            }).blur(function () { if ($(this).val() == '') $(this).val('品牌简介'); });
        });

        function guestBookSave() {
            if ($("#brandName").val() == '')
            { alert('请填写品牌'); return; }
            if ($("#mobile").val() == '')
            { alert('请填写联系电话'); return; }
            if ($("#guestBook").val() == '')
            { alert('请填写留言内容'); return; }

            var post = new Object();
            post.brandName = $("#brandName").val();
            post.telephone = $("#mobile").val();
            post.note = $("#guestBook").val();
            $.post('/Home/GuestBookSave', post, function (msg) { alert(msg.Message); if (msg.RetCode >= 0) location.reload(); }, 'json');
        }

        function codeSearch() {
            if ($("#code").val() == '')
            { alert('请填写查询码'); return }
            document.getElementById("searchForm").submit();
        }
    </script>
</head>
<body>
    <div class="home_top">
    <div style="height:240px;"><span></span></div>
    <div style="text-align:right; padding-right:20px;"><a href="about.html" target="_blank" style=" font-family:微软雅黑; text-decoration:none; color:White; font-size:16px;">关于我们</a></div>
    </div>
    <div class="query_col" style="margin-top:0px;">
    <div style="float:left; height:30px;"><span></span></div>
    <div class="search_title" style="margin-top:0px;"><img src="Content/images/search_title.png" / ></div>
    <form id="searchForm" name="searchForm" method="get" action="search.html" style="margin:0px;">
    <div class="search_box" >
    <div class="search_box_left">
    <div style="float:left; height:44px; width:20px;"></div>
    <div style="height:30px; margin-top:10px; float:left;"><input id="code" name="code" style="border:none; width:390px; font-size:20px;" /></div>
    </div>
    <div class="search_box_right"><img src="Content/images/search_box_bt.png" onclick="codeSearch()" style="cursor:pointer;" /></div>
    </div>
    </form>
    <div class="search_note"><img src="Content/images/search_note.png" /></div>
    </div>
        <div style="float:left;"></div>
    <div class="home_help_box">
  <div style="float:left"></div>
    <!-- slider -->
				<div class="slider">	
                <div style="float:left;"></div>			
					<ul>
                                       
                         <li id="img0">
                          
							<a href="searchHelp.html" target="_blank"><img src="UploadFiles/ContentFile/20151028162253939.jpg" style="width:1000px; height:391px;" /></a>
                            
						</li>
                                       
                         <li id="img1">
                          
                            <img src="UploadFiles/ContentFile/20151028162228439.jpg" style="width:1000px; height:391px;" />
                            
						</li>
                                       
                         <li id="img2">
                          
                            <img src="UploadFiles/ContentFile/20151028162210142.jpg" style="width:1000px; height:391px;" />
                            
						</li>
                    							
					</ul>
				</div>
				<!-- end of slider -->	<!-- thumbs -->
				<div id="thumbs-wrapper">
					<div id="thumbs">
                     
						<a href="#img0" class="selected">●</a>						
                         
						<a href="#img1" >●</a>						
                         
						<a href="#img2" >●</a>						
                        		
					</div>
				</div>
				<!-- end of thumbs -->
    </div>
 
    <div class="home_about_box">
    <div style="float:left;height:30px;"><span></span></div>
    <div class="home_about_bt" style="margin-top:0px;"><img src="Content/images/home_about_bt.png" /></div>
    </div>
    <div class="home_member_box">
        <div style="float:left;height:30px;"><span></span></div>
    <div class="home_member_pic" style="margin-top:0px;"><img src="Content/images/home_member_title_pic.png" /></div>
    <div class="home_member_table">
    <table>
     <tr>
       <td>
        
       <img src="UploadFiles/ContentFile/20151119115107057.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151119115133652.png" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151119115740121.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151119114633498.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151119115224373.jpg" style="width:127px;" />
       
       </td>
        </tr>   
     <tr>
       <td>
        
       <img src="UploadFiles/ContentFile/20151119115251999.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151208145834197.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151208150246072.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151203152611101.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151203153848401.jpg" style="width:127px;" />
       
       </td>
        </tr>   
     <tr>
       <td>
        
       <img src="UploadFiles/ContentFile/20151203154353008.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151203154637828.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151203155537383.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151208150423072.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151208152231041.png" style="width:127px;" />
       
       </td>
        </tr>   
     <tr>
       <td>
        
       <img src="UploadFiles/ContentFile/20151208151033228.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20151208151138760.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20160401170912678.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20160409213649279.jpg" style="width:127px;" />
       
       </td>
           
     
       <td>
        
       <img src="UploadFiles/ContentFile/20160409214303243.png" style="width:127px;" />
       
       </td>
        </tr>       
   
   </table>
    </div>
    </div>
    <div class="home_joinus_box">
    <div style="float:left;height:30px;"><span></span></div>
    <div class="home_joinus_title" style="margin-top:0px;"><img src="Content/images/home_joinus_bt.png" /></div>
    <div class="home_joinus_text"></div>
    <div class="home_guestbook_box">
    <div><input id="brandName" name="brandName" value="品牌" class="textBox" devaultVal="品牌" style="width:180px;;border:none; height:30px; color:#b7b6b7" /><input id="mobile" name="mobile" value="联系电话" class="textBox" devaultVal="联系电话" style=" margin-left:5px; width:180px;border:none;height:30px; color:#b7b6b7" /></div>
    <div style="margin-top:10px;"><textarea id="guestBook" name="guestBook" class="textBox"  devaultVal="品牌简介" style="width:365px;;border:none; height:200px; color:#b7b6b7;">品牌简介</textarea></div>
    <div style="width:365px; margin-top:10px; text-align:right;"><img src="Content/images/home_guestbook_bt.png" onclick="guestBookSave()" /></div>
    </div>
    </div>
</body>
</html>
